Skip to content

Conversation

etcwilde
Copy link
Member

The pass that tracks which control-flow positions are unreachable after infinite loops was migrated to pure Swift in PR #79186. As a result, the C++-only compiler used to bootstrap is unable to determine that the code-location after loops is unreachable. Placing a fatalError after the infinite while loop.

Fixes: rdar://160956325

The pass that tracks which control-flow positions are unreachable after
infinite loops was migrated to pure Swift in PR swiftlang#79186. As a result, the
C++-only compiler used to bootstrap is unable to determine that the
code-location after loops is unreachable. Placing a fatalError after the
infinite while loop.

Fixes: rdar://160956325
@etcwilde etcwilde requested a review from a team as a code owner September 19, 2025 23:53
@etcwilde
Copy link
Member Author

@swift-ci please smoke test

@etcwilde etcwilde merged commit 8e96210 into swiftlang:main Sep 22, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants